<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>超级游乐场</title>
    <link href="image/favicon.ico" rel="shortcut icon">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_607959_8t0w2txptnj.css">
    <link rel="stylesheet" href="/mcss/base.css">
    <link rel="stylesheet" href="/mcss/header.css">
</head>
<body>
    <div id="app" class="app">
        <div class="headerTop">
            <a href="/m">
                <img src="/mimage/logo.png" alt="" class="logo">
            </a>
            <% if(title){ %>
                <div>
                    <%- title %>
                </div>
            <% }else{ %>
                <div></div>
            <% } %>
            <img src="/mimage/Switching.png" alt="" class="switch" @click="slidewqesadsa">
        </div>
        <div class="Mask" @click="mask"></div>
        <div class="sidebar">
            <% if(!allMine.length){ %>
                <div class="sidlbarTop clear">
                    <div class="sidlbarTop-1 loginbtn">
                        <a href="/m/singin"><%= __('Thelogin') %></a>
                    </div>
                    <div class="sidlbarTop-1 registerbtn">
                        <a href="/m/registered"><%= __('Welcomeregister') %></a>
                    </div>
                    <img src="/mimage/close.png" alt="" @click="closeslide">
                </div>
            <% } %>
                    <% if(allMine.length){ %>
                        <input type="hidden" value="<%= lastFaucetTime %>" class="Thereare">
                        <input type="hidden" value="<%= allMine[0].lastFaucetTime %>" class="lastFauce">
                        <div class="sidlbarTop clear">
                            <div class="sidlbarTop-1 sidlbarTop-2" onClick="location.href='/m/personal'">
                                <!-- <img src="<%= userbasicinfo.avatar %>" alt=""> -->
                                <img src="/mimage/avatar.png" alt="" v-if="'<%= userbasicinfo.avatar %>' == ''">
                                <img src="<%= userbasicinfo.avatar %>" alt="" v-else-if="'<%= userbasicinfo.avatar %>' != ''">
                            </div>
                            <div class="sidlbarTop-uname"><%= userbasicinfo.nickname %></div>
                            <img src="/mimage/close.png" alt="" @click="closeslide">
                        </div>
                        <% } %>
                            <div class="sidlbarmiddle">
                                <!-- 我的余额 -->
                                <%= __('MyBalance') %>
                            </div>
                            <% if(allMine.length){ %>
                                <div class="coinlist_wrap">
                                    <% allMine.forEach( (item,index) => { %>
                                        <div class="coinList">
                                            <div class="coinListLeft">
                                                <%- item.coin %>
                                            </div>
                                            <div class="coinListRright">
                                                <%- item.balance %>
                                            </div>
                                        </div>
                                    <% }) %>
                                </div>
                            <% } %>
                            <% if(!allMine.length){ %>
                                <div class="pleaselogin">
                                    <a href="/m/singin"><%= __('pleaselogin') %></a>
                                </div>
                            <% } %>
                            <div class="menubox clear">
                                <div class="menu fl"><%= __('menu') %></div>
                                <div class="language fr">
                                    <div class="chooselanguage" @click="isshowlanguage=!isshowlanguage">
                                        <% if( lang == 'zh_CN' ){ %>
                                        <span>简体中文</span>
                                        <% } %>
                                        <% if( lang == 'en_US' ){ %>
                                        <span>English</span>
                                        <% } %>
                                        <% if( lang == 'zh_TW' ){ %>
                                        <span>繁體中文</span>
                                        <% } %>
                                        <i></i>
                                    </div>
                                    <ul class="dropdownmenu" v-show="isshowlanguage">
                                        <% if( lang !== 'zh_CN' ){ %>
                                        <li @click="chooselanguage('zh_CN','<%- lang %>')">简体中文</li>
                                        <% } %>
                                        <% if( lang!=='en_US' ){ %>
                                        <li @click="chooselanguage('en_US','<%- lang %>')">English</li>
                                        <% } %>
                                        <% if( lang!=='zh_TW' ){ %>
                                        <li @click="chooselanguage('zh_TW','<%- lang %>')">繁體中文</li>
                                        <% } %>
                                    </ul>
                                </div>
                            </div>
                            <div class="menuList">
                                <div class="menuListflex menuListflexodd " :class="{Menuselected:isindex==1}" @click="Menuselected(1)">
                                    <a href="/">
                                        <img src="/mimage/Home.png" alt="" class="homeing">
                                    </a>
                                    <a href="/"><%= __('Home') %></a>
                                </div>
                                <div class="menuListflex menuListflexenen" :class="{Menuselected:isindex==2}" @click="Menuselected(2)">
                                    <% if(allMine.length){ %>
                                        <a href="/m/growth">
                                            <img src="/mimage/funds.png" alt="">
                                        </a>
                                        <a href="/m/growth"><%= __('Management') %></a>
                                    <% } %>
                                    <% if(!allMine.length){ %>
                                        <a href="/m/singin">
                                            <img src="/mimage/funds.png" alt="">
                                        </a>
                                        <a href="/m/singin"><%= __('Management') %></a>
                                    <% } %>
                                </div>
                                <div class="menuListflex menuListflexodd" :class="{Menuselected:isindex==3}" @click="Menuselected(3)">
                                    <% if(allMine.length){ %>
                                        <a href="/m/personal">
                                            <img src="/mimage/personal.png" alt="" class="personalimg">
                                        </a>
                                        <a href="/m/personal"><%= __('PersonalCenter') %></a>
                                    <% } %>
                                    <% if(!allMine.length){ %>
                                        <a href="/m/singin">
                                            <img src="/mimage/personal.png" alt="" class="personalimg">
                                        </a>
                                        <a href="/m/singin"><%= __('PersonalCenter') %></a>
                                    <% } %>
                                </div>
                                <div class="menuListflex menuListflexenen" :class="{Menuselected:isindex==4}" @click="Menuselected(4)">
                                    <a href="https://kf1.learnsaas.com/chat/chatClient/chatbox.jsp?companyID=951120&configID=71038&jid=5076028323&s=1">
                                       <img src="/mimage/Customer.png" alt="" class="aa">
                                    </a>
                                    <a href="https://kf1.learnsaas.com/chat/chatClient/chatbox.jsp?companyID=951120&configID=71038&jid=5076028323&s=1" ><%= __('onlineService') %></a>
                                </div>
                                <div class="menuListflex menuListflexodd" :class="{Menuselected:isindex==5}" @click="Menuselected(5)">
                                    <a href="/m/announcement">
                                       <img src="/mimage/news.png" alt="" class="aa">
                                    </a>
                                    <a href="/m/announcement"><%= __('Newsannouncement') %></a>
                                </div>
                                <div class="menuListflex menuListflexenen" :class="{Menuselected:isindex==6}" @click="Menuselected(6)">
                                    <% if(allMine.length){ %>
                                        <a href="/m/Promotionpage">
                                            <img src="/mimage/Promotion.png" alt="">
                                        </a>
                                        <a href="/m/Promotionpage"><%= __('myExtension') %></a>
                                    <% } %>
                                    <% if(!allMine.length){ %>
                                        <a href="/m/singin">
                                            <img src="/mimage/Promotion.png" alt="">
                                        </a>
                                        <a href="/m/singin"><%= __('myExtension') %></a>
                                    <% } %>
                                </div>
                            </div>
                            <% if( lang ){ %>
                                <% if(allMine.length){ %>
                                <div class="faucet" @click.once="FreeFaucetone()">
                                    <% if( lang == 'zh_CN' ){ %>
                                    <img src="/mimage/faucet-cn.jpg" alt="">
                                    <% } %>
                                    <% if( lang == 'en_US' ){ %>
                                    <img src="/mimage/faucet-us.jpg" alt="">
                                    <% } %>
                                    <% if( lang == 'zh_TW' ){ %>
                                    <img src="/mimage/faucet-tw.jpg" alt="">
                                    <% } %>
                                    <div class="faucetitem" v-html="faucettext" v-show="showfaucet"></div>
                                </div>
                                <% } %>
                                <% if(!allMine.length){ %>
                                <div class="faucet">
                                    <a href="/m/singin">
                                        <% if( lang == 'zh_CN' ){ %>
                                        <img src="/mimage/faucet-cn.jpg" alt="">
                                        <% } %>
                                        <% if( lang == 'en_US' ){ %>
                                        <img src="/mimage/faucet-us.jpg" alt="">
                                        <% } %>
                                        <% if( lang == 'zh_TW' ){ %>
                                        <img src="/mimage/faucet-tw.jpg" alt="">
                                        <% } %>
                                    </a>
                                </div>
                                <% } %>
                            <% } %>
        </div>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script type='text/javascript' src='http://cdn.staticfile.org/jquery/2.1.1/jquery.min.js'></script>
    <script src="/mjs/header.js"></script>
</body>
</html>